﻿/*******************************************************************************
#                    TADMUserEntity.cs
#  Comment:
#
#  Current Version: V1.0
#  Author: 
#
#  History List:
#  V1.0    Created by Onions@2009-8-21 13:08:14
#
#******************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using IBatisNet.Extend;

namespace ExpertMIS.Entities
{

    /// <summary><c>TADMUserEntity</c> Business Object.</summary>
    [Serializable]
    public class ADMUserEntity : BaseEntity, SYS.Common.RMSIntf.ISYSUser
    {

        #region Constructor

        public ADMUserEntity()
        {
            // construct your entity
        }

        #endregion

        #region Properties

        #region OID

        private String m_oID;

        /// <summary>Gets or sets OID</summary>
        public String OID
        {
            get { return m_oID; }
            set { m_oID = value; }
        }

        #endregion

        #region Account

        private String m_account;

        /// <summary>Gets or sets Account</summary>
        public String Account
        {
            get { return m_account; }
            set { m_account = value; }
        }

        #endregion

        #region Password

        private String m_password;

        /// <summary>Gets or sets Password</summary>
        public String Password
        {
            get { return m_password; }
            set { m_password = value; }
        }

        #endregion

        #region Name

        private String m_name;

        /// <summary>Gets or sets Name</summary>
        public String Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        #endregion

        #region Email

        private String m_email;

        /// <summary>Gets or sets Email</summary>
        public String Email
        {
            get { return m_email; }
            set { m_email = value; }
        }

        #endregion

        #region IsPassed

        private Boolean? m_isPassed;

        /// <summary>Gets or sets IsPassed</summary>
        public Boolean? IsPassed
        {
            get { return m_isPassed; }
            set { m_isPassed = value; }
        }

        #endregion

        #region IsExpert

        private Boolean? m_isExpert;

        /// <summary>Gets or sets IsExpert</summary>
        public Boolean? IsExpert
        {
            get { return m_isExpert; }
            set { m_isExpert = value; }
        }

        #endregion

        #region IsAdmin

        private Boolean? m_isAdmin;

        /// <summary>Gets or sets IsAdmin</summary>
        public Boolean? IsAdmin
        {
            get { return m_isAdmin; }
            set { m_isAdmin = value; }
        }

        #endregion

        #region Enable

        private Boolean? m_enable;

        /// <summary>Gets or sets Enable</summary>
        public Boolean? Enable
        {
            get { return m_enable; }
            set { m_enable = value; }
        }

        #endregion

        #region Stamp

        private DateTime? m_stamp;

        public DateTime? Stamp
        {
            get { return m_stamp; }
            set { m_stamp = value; }
        }
        #endregion

        #region Tel

        private string m_tel;
        public String Tel
        {
            get { return m_tel; }
            set { m_tel = value; }
        }

        #endregion

        #region Graphic/照片

        private string m_graphic;

        public string Graphic
        {
            get { return m_graphic; }
            set { m_graphic = value; }
        }
        
        #endregion

        #endregion

        #region ISYSUser Members


        public string OrganizationOID
        {
            get
            {
                return "";
            }
            set
            {
                return;
            }
        }

        public string OrganizationCode
        {
            get
            {
                return "";
            }
            set
            {
                return;
            }
        }

        public string OrganizationName
        {
            get
            {
                return "";
            }
            set
            {
                return;
            }
        }

        public bool HasFeatureCode(string FeatureCode)
        {
            return false;
        }

        #endregion
    }
}
